CKEDITOR.editorConfig=function(config){
    config.toolbar='Basic';
    config.toolbar_Basic=[['Bold','Italic','Underline','-','Link','Unlink','-','Undo','Redo','-']];
    
    config.extraPlugins = 'wordcount';
    
    config.wordcount = {

        // Whether or not you want to show the Word Count
        showWordCount: false,

        // Whether or not you want to show the Char Count
        showCharCount: true,

         // Whether or not to include Html chars in the Char Count
         countHTML: false,

        // Option to limit the characters in the Editor
        charLimit: '400',

        // Option to limit the words in the Editor
        wordLimit: 'unlimited'
    };
};